home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 12
/
Aminet 12 (1996)(GTI - Schatztruhe)[!][Jun 1996].iso
/
Aminet
/
misc
/
math
/
sillycalcv1.lha
/
uploads
/
SillyCalc.txt
< prev
Wrap
Text File
|
1995-04-04
|
2KB
|
66 lines
SillyCalc v1.0
--------------
by
Michael M. Hylkema
1996
What is it?
Its a simple calculator for CLI. It was written on an Amiga 1200 030/28
with 10megs running OS 3.1. Should work fine on OS 2.04 and greater. Created
and compiled with Storm C++ Demo v1.0.
Summary of Commands
0-9 obvious
+ - * / ^ = performs operator
p Adds current value to memory
m Subtracts current value from memory
r Displays current value in memory
M Clear memory
P Enter program mode
R Run current program
C Clear all (Display, memory, reset program)
c Clear display
q/Q Quit
Important information:
This calculator does allow you to stack functions, but does NOT do order of
operations, meaning that calculations are done left to right regardless of
operators. Maybe someday I will add that, but this calculator was orignally
writted for a graphical interface that worked one character at a time.
Currently this calculator does not allow decimal values to be input, so if
ya do input then, you'll probably confuse it. It will however output decimal
values. This may get fixed in a later version, I just gotta play with it a bit.
Programming:
Enter 'P' to get into program mode. Enter any formula (remember no order of
operations) with an 'n' in place of the variable(s). Multiple variables are
allowed. When finished, type 'P' again. To clear the current program enter 'P',
and then 'P' again, and the program will be cleared. Currently a 64 character
program is allowed for. Why 64? I dunno, just seemed good at the time.
Running Program:
Enter 'R' to start running the current program. If input is required, the
program will ask for input. After typing input type 'R' again to resume the
program.
Suggestion/Complaints/Bugs/Need better Docs?
Send all suggestions to:
mmh8368@ritvax.isc.rit.edu
Michael Hylkema